package com.cykj.common.utils;

/**
 * @author 许晓龙
 * @date 2025/2/11 9:45
 */
public class IschineseByutil {

    /**
     * 判断是否是中文
     * @param str
     * @return
     */
    public static boolean ischineseByutil(String str){
        char[] chars = str.toCharArray();
        for (char c : chars){

            if (Character.isIdeographic(c)){

                return true;
            }
        }
        return false;
    }
}
